//---------------------------------------------------------------------------

#ifndef TIntegFormH
#define TIntegFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "TUnitsGroup.h"
#include "TArea.h"
#include "TGRA.h"
#include <ComCtrls.hpp>
#include "TFrame2.h"
//---------------------------------------------------------------------------
class TIntegForm : public TForm
{
__published:	// IDE-managed Components
        TMemo *NameMemo;
        TButton *ExecuteBtn;
        TMemo *Memo;
        TMemo *DesMemo;
        TPanel *Panel;
        TPanel *Panel1;
        TLabel *Parametrai;
        TBevel *Bevel3;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TButton *CancelBtn;
        TFrame2 *Frame2;
        TButton *DescBtn;
        TButton *HelpBtn;
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall ExecuteBtnClick(TObject *Sender);
        void __fastcall DescBtnClick(TObject *Sender);
        void __fastcall CancelBtnClick(TObject *Sender);
private:	// User declarations
  int NumParams;
  AnsiString Formula;
  void __fastcall RepaintFields(int Top);
  AnsiString __fastcall GenFunction();
public:		// User declarations
  __fastcall TIntegForm(TComponent* Owner);
  TArea *Area;
  TGRA *GRA;
  TLabel *Label[20];
  TEdit *Edit[20];
  TComboBox *ComboB[20];
  AnsiString PS[20];
  TUnitsGroup *UnitsG[20];

  TImage *Image;
  void __fastcall SetCurTopic(AnsiString TopicName);
};
//---------------------------------------------------------------------------
extern PACKAGE TIntegForm *IntegForm;
//---------------------------------------------------------------------------
#endif
